-- card: 4766 from stack: in -- bmap block id: 0 -- flags: 0000 -- background id: 2795 -- name: ChangeMenu -- part 1 (button) -- low flags: 00 -- high flags: 8003 -- rect: left=315 top=307 right=329 bottom=379 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: Demo ----- HyperTalk script ----- on mouseUp push this card visual effect iris open go to card id 10546 end mouseUp -- part contents for background part 20 ----- text ----- 3 -- part contents for background part 1 ----- text ----- XCMD -- part contents for background part 22 ----- text ----- ChangeMenu menuNumber, itemNumber, "Item" -- part contents for background part 13 ----- text ----- ChangeMenu is an XCMD that lets you change the names of items in menus you've created using the NewMenu XFCN. For example: ChangeMenu myMenu, 2, "Go to Address" Will change the second menu item in menu "myMenu" to read "Go To Address". If the original item was disabled or checked, the changed item will be also. You can not change the title of a menu, only the items in the meu itself. The menu number you provide to to ChangeMenu should be the same number that was returned by NewMenu.